
def solution(s,target):
    tmp = []

    for i in s:
        if i.isdigit():
            tmp.append(target)
        else:
            tmp.append(i)
        print(tmp)
solution("a1b2c3","number")